FixedTruncate
You can use theFixedTruncate
macro to obtain an integer that is the greatest integer that is not greater than the givenFixed
number.
#define FixedTruncate(a) ((short)((Fixed)(a) >> 16))
a
- The number that is to be truncated.
- macro result
- The largest integer that is not greater than the
Fixed number.